<?php
session_start();
if (isset($_SESSION['type']) && $_SESSION['type']=="admin") {
	header('Location: ../views/admin_home.php');
}else{
	header('Location: ../views/admin.php');
}